package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

/**
 * 孙子族谱职业技能升级
 */
@FieldTypeAnnotation(tableName = "t_l_ck_grand_child_profession_skill_upgrade", desc = "山庄孙子族谱日志", autoSave = true, uploadCk = true)
public class LogGrandChildProfessionSkillUpgrade extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "技能ID")
    private int skillId;
    @FieldTypeAnnotation(desc = "旧等级")
    private int oldLv;
    @FieldTypeAnnotation(desc = "新等级")
    private int newLv;
    @FieldTypeAnnotation(desc = "达成人数")
    private long achieveCount;

    public LogGrandChildProfessionSkillUpgrade(long userId, int skillId, int oldLv, int newLv, long achieveCount) {
        this.userId = userId;
        this.skillId = skillId;
        this.oldLv = oldLv;
        this.newLv = newLv;
        this.achieveCount = achieveCount;
    }

    public long getUserId() {
        return userId;
    }

}
